package com.jianz.campus_markets.mapper;

import com.jianz.campus_markets.domain.entity.Collection;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.jianz.campus_markets.domain.entity.Product;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author jianz
 * @since 2023-12-28
 */
@Mapper
public interface CollectionMapper extends BaseMapper<Collection> {

    List<Product> getCollection(@Param("user_id") int userid);
}
